//
//  LFNetService.h
//  联付商圈
//
//  Created by 韩佳睿 on 2017/9/29.
//  Copyright © 2017年 lianfu. All rights reserved.
//

#import <Foundation/Foundation.h>

//@interface LFAPIResponseResult : NSObject
//@property (nonatomic, strong) id _Nullable result;
//@property (nonatomic, strong) NSString * _Nullable message;
//
//@end

typedef void (^LFAPIResponseBlock)(NSDictionary * _Nullable resp, NSError * _Nullable error);

@interface LFNetService : NSObject

+ (instancetype _Nullable)sharedInstance;
- (NSURLSessionDataTask *_Nullable)getActionWithActionURLName:(NSString *)urlName
                                          parameters:(NSDictionary *_Nullable)params
                                            complete:(LFAPIResponseBlock _Nullable)complete;

@end
